home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / cw.arc / TUTORIAL.CHI < prev   
Encoding:
Text File  |  1986-11-26  |  16.2 KB  |  353 lines

  1. \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\4CHIWRITER\.TUTORIAL\,
  2. \+
  3. \+
  4. 1. Cursor Movement\!\,
  5. \-
  6. \-
  7. \1The Cursor keys [Left], [Right], [Up] and [Down]\. in\. the\. numeric \"
  8. keypad\. move\. the\. cursor\. one\. unit\. in\. the\. desired\. direction. 
  9. [Ctrl-Left], [Ctrl-Right] move one word to\. the\. left\. and\. right. 
  10. [Home] and [End] move to the beginning\. and\. end\. of\. the\. screen, 
  11. with intermediate stops at\. the\. beginning\. and\. end\. of\. a\. line. 
  12. [Tab] and [Shift-Tab] move the cursor\. to\. the\. next\. or\. previous 
  13. tab stop. \3Try them out now!\,
  14.      \1[PgUp] and [PgDn] scroll one screen up and down,\. [Ctrl-Home] 
  15. and [Crtl-End] move to the beginning\. and\. end\. of\. the\. document. 
  16. [Ctrl-PgUp] and [Ctrl-PgDn] move the cursor one line up\. or\. down. 
  17. \3Try them now and remember to hit \1[Ctrl-Home] \3to return here!\,
  18.      \1To move the cursor to the next or previous\. occurrence\. of\. a 
  19. character, hit [Grey +] or [Grey -], followed by\. that\. character. 
  20. For example, [Grey +]a moves the cursor to the next\. a,\. [Grey\. -] 
  21. [F3]b moves the previous italic \3b\1.\,
  22.      \3Use \1[PgDn] \3in the following to page through this tutorial! If 
  23. you want to quit the tutorial, hit \1[Ctrl-End] \3for directions.\,
  24. \+
  25. \+
  26. \42. Inserting Text\!\,
  27. \-
  28. \-
  29. \1To insert text, move the cursor anywhere on the screen\. and\. start \"
  30. typing. Use the [Backspace] key to delete the character before the 
  31. cursor, the [Del] key to delete the character\. under\. the\. cursor. 
  32. [Ins] toggles between \2"\1Insert mode\3" \1and \2"\1Overwrite\. mode\3"\1.\. (Check 
  33. the \4INS \1indicator in the status line for the current\. mode.)\. \3Move 
  34. the cursor to the \4* \3on the next line and type your name!\,
  35. \.\.\.\.\.\6Wade Peterson Now is the time for all good men to come to the 
  36. aid of their country. \8,\,
  37. \+
  38. \+
  39. \43. Font Change\!\,
  40. \-
  41. \-
  42. \110 fonts are available to you:\"\,
  43.      F1: Roman  F2: Symbol  F3: \3Italic  \1F4: \4Bold    \1F5:  \5Gothic\,
  44.      \1F6: \6Small  \1F7: Greek   F8: \8Script  \1F9: Math I  F10: Math II\,
  45. To change the font, hit the desired function key on\. the\. left\. of 
  46. the keyboard \3twice\1. Note that the \4FONT: \1indicator\. in\. the\. status 
  47. line changes. If you hit the function key just \3once\1, only the next 
  48. character is taken from the new font and the editor reverts to the 
  49. old font. To see\. a\. font,\. type\. its\. function\. key\. and\. [Alt-H] 
  50. (\2"\1Help\3"\1). \3Move the cursor to the next \4*\3, and try out the different 
  51. fonts! Shift back to font 1 when you are done!\,
  52. \.\.\.\.\.\2P\1now is the\2&\1time for\,\/
  53. \+
  54. \+
  55. \44. The Anatomy of a Line\,\/
  56. \-
  57. \1Each document consists of a sequence of lines. Each line ends in a 
  58. marker which is displayed at the rightmost column of\. the\. screen. 
  59. There are two types of markers:\,
  60.                                                      A soft return marker \2__K
  61.                                                      \1A hard return marker \2__K\,
  62. \1Successive lines are separated by a short line segment in the last 
  63. column and successive pages are separated by a long\. dotted\. line, 
  64. like the one above this section.\,
  65. \+                                       superscripts
  66. \+                                    of
  67. \+                             levels
  68. \+                     several
  69.      A line can have \!\,
  70. \-                                                    and
  71. \-                                                        subscripts.
  72. \+
  73. \+
  74. \45. Super- and Subscripts\,
  75. \-
  76. \-
  77. \3Move the cursor to the next \4* \3and type \1H [Down] 2 [Up] O\3!\,
  78. \-
  79. \+                             \1o
  80.      H\.O past it boils at 100\.C!\,
  81. \-      2
  82. Subscripts and superscripts can\. be\. inserted\. in\. any\. line.\. The \"
  83. return marker at the end of every line is at the \2"\1base\. level\3"\. \1of 
  84. the line. If you move the cursor away from the base level,\. super- 
  85. and subscripts can be\. inserted.\. If\. the\. cursor\. happens\. to\. be 
  86. between two lines, a new level is inserted. \3Move the\. cursor\. back 
  87. to the \1H O \3you just typed and insert past\. it\. \1boils\. at\. 100[Up]o \!
  88. \-        2
  89. [Down]C\3!\"\,
  90. \+
  91. \+
  92. \46. Adding and Zapping Levels\!\,
  93. \-
  94. \-
  95. \1If you type a formula or a table, you will need several levels\. of \"
  96. superscripts and subscripts. [Ctrl-A] adds\. one\. level\. below\. the 
  97. cursor, and [Ctrl-Z] zaps (i.e. deletes) the level containing\. the 
  98. cursor. However, you cannot zap if the cursor is in the base level 
  99. or between two lines. When writing a formula, it is\. usually\. best 
  100. to first add an ample number of levels and later\. zap\. the\. unused 
  101. ones. \4Note: \1When editing a table or formula, turn insert mode \4off! 
  102. \3Move the cursor to the next \4*\3, turn insert mode off, add about\. 10 
  103. \+                                           \05______6
  104. \+                                             \62
  105. \+                                     \1-b \9+ \0r \1b -4ac
  106. \+
  107. \3levels and copy this formula: \1x\.\.\. = \2______________\3. When you\. are \!
  108. \-                               \61,2
  109. \-                                          \12a
  110. \-
  111. \-
  112. \-
  113. \3done, turn insert mode back on! You will find the \2_ \3in font 2, the \"
  114. small \62 \3in font 6, the \9+ \3in font 9 and the characters to make\. the 
  115. root sign in font 10. (This exercise is trickier\. than\. you\. might 
  116. expect. Formula editing requires some practice and patience.)\,
  117. \.\.\.\.\.\4*\!\,\/
  118. \-
  119. \1Occasionally, you need to insert or delete characters in one level \"
  120. of a formula without\. wanting\. to\. shift\. the\. other\. levels.\. \3For 
  121. example, try to delete the \2P \3from the following formula:\,
  122. \+                  \05______6
  123. \+                    \62
  124. \+            \1-b \9+ \0r \1b -4ac
  125. \+
  126. \.\.\.\.\.x\.\.\. = \2______________\3. \!\,
  127. \-      \61,2
  128. \-                \12\2P\1a
  129. \-
  130. \-
  131. \-
  132. If you use the [Del] key, the contents of all\. rows\. are\. deleted. \"
  133. You need to \3unsynchronize \1the index rows by hitting\. [Ctrl-S].\. In 
  134. unsynchronized mode, insertion and deletion only\. affect\. the\. row 
  135. containing the cursor,\. not\. the\. entire\. line.\. \3Try\. again\. after 
  136. hitting \1[Ctrl-S]:\,
  137. \+                  \05______6
  138. \+                    \62
  139. \+            \1-b \9+ \0r \1b -4ac
  140. \+
  141. \.\.\.\.\.x\.\.\. = \2______________\3. \!\,
  142. \-      \61,2
  143. \-                \12\2P\1a
  144. \-
  145. \-
  146. \-
  147. \3Hit \1[Ctrl-S] \3again to switch back\. into\. synchronized\. mode.\. \1Note \"
  148. that\. the\. \4SYNC\. \1indicator\. in\. the\. status\. line\. disappears\.\. in 
  149. unsynchronized mode.\,
  150. \+
  151. \+
  152. \47. Word Wrap and Formatting\,
  153. \-
  154. \-
  155. \1If you type text, don't use the [Return] key to end a\. line.\. When 
  156. you go past\. the\. right\. margin,\. the\. last\. word\. will\. be\. moved 
  157. automatically on a new line. The old line is terminated by a\. soft 
  158. return. If justification mode is on (\4JUST \1in the status line), the 
  159. old line is automatically right justified. Use [Ctrl-J] to\. toggle 
  160. justification mode. At the end of every paragraph, you should\. use 
  161. the [Return] key to insert a hard return.\,
  162.    To format a paragraph, move the cursor into its first line. and 
  163. hit [Ctrl-F]. If justification mode is on, the editor\. produces\. a 
  164. flush right margin by inserting soft spaces (the ones\. that\. don't 
  165. look like small dots),\. otherwise\. a\. ragged\. right\. margin.\.  The 
  166. formatting stops at the next hard return. \3Move the cursor\. to\. the 
  167. next \4* \3and follow the instructions above it!\!\,
  168. \-
  169. \"\,
  170. Write a sentence that is longer than one line to see the word wrap. Then 
  171. move the cursor to the 
  172. first word of this paragraph and hit \1[Ctrl-F]\3! 
  173. \4*\,
  174. \+
  175. \+
  176. 8. Changing the Margins, Tab Stops and Spacing.\!\,
  177. \-
  178. \-
  179. \1[Ctrl-L], [Ctrl-R] change the left and right margin resp.\. to\. the \"
  180. cursor column.\. [Ctrl-T]\. toggles\. the\. tab\. stop\. at\. the\. cursor \/
  181. column, i.e. creates a tab stop\. if\. there\. was\. none\. before\. and 
  182. removes it otherwise. There is a margin\. and\. tab\. stop\. indicator 
  183. below the status line. The maximum right margin\. is\. 77.\. \3Try\. out 
  184. \1[Ctrl-L], [Ctrl-R] \3and \1[Ctrl-T]\3! Observe the effect on the\. status 
  185. line! Be sure to reset the left margin to 1 and the\. right\. margin 
  186. to 66 when you are done.\,
  187.      \1The current spacing value\. determines\. the\. number\. of\. blank 
  188. index rows added to each line to separate it from\. the\. next.\. The 
  189. status line shows the current spacing value as \4SPAC:\1. Use\. [Alt-0] 
  190. ... [Alt-9] to change it. For example, [Alt-2] switches to\. double 
  191. spacing.\,
  192. \+
  193. \+
  194. \49. Pagination\!\,
  195. \-
  196. \-
  197. \1The program automatically computes page breaks.\. However,\. if\. you \"
  198. want to force a page break (e.g. at the end\. of\. a\. chapter),\. hit 
  199. [Ctrl-P]. Hitting [Ctrl-P] again removes the page break. \3Move\. the 
  200. cursor to the next \4* \3and\. hit\. \1[Ctrl-P].\. \3Hit\. \1[Ctrl-P]\. \3again\. to 
  201. remove the page break!\,
  202. \.\.\.\.\.\4*\,
  203. \1Note that the hard page breaks inserted by you show\. up\. as\. solid 
  204. lines across the screen whereas the soft page breaks\. computed\. by 
  205. the computer are dotted. \,
  206.      Sometimes you need to inhibit\. a\. page\. break\. at\. a\. certain 
  207. location, e.g. directly after a section heading. [Ctrl-N]\. toggles 
  208. the line containing the cursor in and out of \2"\1No page break\3" \1mode. 
  209. When in \2"\1No page break\3" \1mode, a page break will\. never\. be\. placed 
  210. below it by the pagination routine. This node is\. indicated\. by\. a 
  211. dotted separator dash below the return marker. \,
  212. \+
  213. \+
  214. \410. Splitting and Merging Lines. Deleting Lines. Centering Lines.\!\,
  215. \-
  216. \-
  217. \1To split a line in two, move the cursor at\. the\. desired\. location \"
  218. and enter a hard return\. with\. the\. [Return]\. key.\. To\. merge\. two 
  219. successive lines, move the cursor to\. the\. last\. column\. (use\. the 
  220. [End] key!), and delete the marker using the [Del] key.\. \3Move\. the 
  221. cursor to the next \4* \3and\. hit\. \1[Return].\. \3Then\. delete\. the\. newly 
  222. created hard return!\,
  223. \,
  224.      Split this line \4* \3and merge it back together!\,
  225. \,
  226. \1Hitting [Alt-L] deletes the line containing\. the\. cursor.\. Hitting 
  227. [Ctrl-C] centers it between the margins.\,
  228. \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\3Center me by hitting \1[Ctrl-C]\3!\,\/
  229. \+
  230. \+
  231. \411. Highlighting\!\,\/
  232. \-
  233. \-
  234. \1For certain CHIWRITER commands, you have to\. specify\. a\. block\. of \"
  235. text by \3highlighting \1it. To highlight a block, move the cursor\. to 
  236. the beginning of it and \3mark \1it by hitting [Alt-M]. Then move\. the 
  237. cursor to the other end. The text between the marked position\. and 
  238. the cursor is highlighted.\,
  239.      You can cut out the highlighted text or change its\. font\. or 
  240. spacing value. To change the font of each character\. in\. a\. block, 
  241. highlight it and hit\. the\. associated\. font\. key [F\3n\1].\. To\. change\. 
  242. the spacing, hit a spacing key [Alt-\3n\1]. \3Move\. the\. cursor\. to\. the 
  243. next \4* \3and follow the instructions.\,
  244. \.\.\.\.\.\4* \3Hit \1[Alt-M]\3, move the cursor to the end and hit \1[F6].\,
  245. If you invoked highlighting by accident, hit [Esc] to cancel it.\,
  246. \+
  247. \+
  248. \412. Cut and Paste\!\,\/
  249. \-
  250. \-
  251. \1To delete a block of text, move the cursor to\. the\. beginning\. and \"
  252. mark it by hitting [Alt-M]. Then move the cursor to the end of the 
  253. text and hit [Alt-C] (\2"\1Cut\3"\1). The highlighted area is cut out\. and 
  254. placed into a buffer. To insert the buffer contents anywhere\. into 
  255. the text, move the cursor to the insert location and\. hit\. [Alt-P] 
  256. (\2"\1Paste\3"\1). If you want to copy a block\. into\. the\. buffer\. without 
  257. deleting it, highlight it and hit [Alt-D] (\2"\1Duplicate\3"\1).\. \3Cut\. out 
  258. the first part of the sentence\. below\. and\. paste\. it\. behind\. the 
  259. second part!\,
  260.      \4* \1Mark here and cut until here \4* \1and paste here: \,
  261. \+
  262. \+
  263. \413. Search and Replace\,
  264. \-
  265. \1To search for a phrase in the document, hit [Alt-S] and enter\. the 
  266. search pattern. Hit [Esc] to start the search. Subsequent\. [Alt-S] 
  267. commands search for more matches until either\. no\. more\. match\. is 
  268. found\. or\. the\. current\. pattern\. is\. deleted\. with\. the\.\. [Alt-F] 
  269. (\2"\1Forget\3"\1) command. \3Try it out: Move the cursor\. here\. \4*\. \3and\. hit 
  270. \1[Alt-S]the[Esc] \3to move the cursor to the next \1the. \,
  271.      To search for a phrase and replace it with another\. one,\. use 
  272. the [Alt-R] command and enter search pattern and replacement\. text 
  273. when prompted.\,
  274. \+
  275. \+
  276. \414. The FULL Indicator\,
  277. \-
  278. \1The file you are editing is stored in\. the\. computer\. memory.\. You 
  279. should save it occasionally, especially if you have problems\. with 
  280. the electrical power. Also, since the memory size is limited,\. you 
  281. should take care that your file fits inside. If\. you\. run\. out\. of \/
  282. memory, the editor will\. try\. to\. save\. your\. text\. (in\. the\. file 
  283. OVERFLOW.CHI) and\. terminate\. execution.\. You\. should\. avoid\. that 
  284. unfriendly event by looking at the \4FULL \1indicator periodically. If 
  285. it is in the 90% range, save your file! \3Check the\. \4FULL\. \3indicator 
  286. now!\,
  287. \+
  288. \+
  289. \415. Key Sequences\,
  290. \-
  291. \1Sequences of keystrokes can be stored, given a name\. and\. replayed 
  292. later by CHIWRITER.\. To\. replay\. a\. key\. sequence,\. hit\. [Ctrl-K], 
  293. enter the name of the\. sequence\. and\. hit\. [Return].\. Here\. is\. an 
  294. example: We programmed a key sequence that\. deletes\. the\. sentence 
  295. containing the cursor, and named it DLS. \3Move the\. cursor\. to\. the 
  296. next \4* \3and enter \1[Ctrl-K]DLS[Return]\3! The sentence containing\. the 
  297. cursor will be deleted\1.\,
  298.      Here\. is\. a\. demonstration\. of\. the\. \2"\1Delete\. Sentence\3"\.\. \1key 
  299. sequence.
  300.      To record a key sequence, hit [Ctrl-D]\. (\2"\1Define\3"\1),\. enter\. a 
  301. name followed by [Return], hit the keystrokes you want\. to\. record 
  302. and hit [Ctrl-D] again to complete the definition. While recording 
  303. is in progress, there is a \4DEF \1indicator in the status line.\,
  304.      If you hit [Ctrl-K] or [Ctrl-D] by\. accident,\. hit\. [Esc]\. to 
  305. cancel the command.\,
  306. \+
  307. \+
  308. \416. How to Print. Headers and Footers. Print Options.\!\,
  309. \-
  310. \-
  311. \1Leave edit mode by hitting [Esc]. Select the P (Print) option from \"
  312. the main menu, turn the printer on and\. select\. R\. (Regular\. print 
  313. mode). This tutorial will be printed.\. You\. can\. hit\. any\. key\. to 
  314. stop the printout. To return here, select ED (Edit Document)\. from 
  315. the main menu. \,
  316.      There are three print modes: Draft,\. Regular\. and\. Slow.\. The 
  317. draft mode is intended for fast printing with\. little\. regard\. for 
  318. beauty. Regular or Slow should be\. used\. for\. presentable\. output; 
  319. it depends on your printer\. which\. of\. these\. two\. modes\. produces 
  320. better results. \,
  321.      To suppress printing\. of\. page\. numbers,\. delete\. the\. footer 
  322. containing them with the\. DFA\. (\2"\1Delete\. Footer\. for\. All\. pages\3"\1) 
  323. command. There are variable header and footer\. capabilities\. (e.g. 
  324. different headers on even/odd pages, but suppress header\. on\. page 
  325. 1); consult the manual for details. \,
  326.      Look at the PO (\2"\1Print Options\3"\1)\. to\. print\. out\. part\. of\. a 
  327. document or set the starting page number. \,
  328. \+
  329. \+
  330. \416. The Current Disk/Directory\,\/
  331. \-
  332. \-
  333. \1To see a list of the files on the\. current\. directory, use\. the FD 
  334. command (\2"\1File Directory\3"\1). This is the equivalent\. of\. the\. DIR/W 
  335. command\. in\. DOS.\. To\. change\. the\. current\. disk/directory\. which 
  336. CHIWRITER uses to load and save documents,\. use\. the\. CD\. (\2"\1Change 
  337. Directory\3"\1) command and enter the name of the new drive (e.g.\. B:) 
  338. or the new directory (e.g. \\CHIWRITE\\LETTER).\,
  339. \+
  340. \+
  341. \416. How To Get Out\,
  342. \-
  343. \-
  344. \1To end the edit session and save your file, hit [Alt-Q]\. (\2"\1Quit\3"\1). 
  345. Your file will be saved and the input file will\. be\. renamed\. with 
  346. the extension .BAK. If you do not want to save your file\. (because 
  347. you only wanted to read\. it\. or\. messed\. it\. up\. too\. much\. during 
  348. editing), hit [Esc]. Either way, you\. get\. to\. the\. editor's\. main 
  349. command menu. Hit Q and answer Y when asked\. whether\. you\. do\. NOT 
  350. want to save your changes. \3Since you\. do\. not\. want\. to\. save\. the 
  351. changes you just made to this tutorial, hit \1[Esc] Q Y \3to quit.\,
  352. \=
  353.